import requests
# url
base_url = "https://www.hbjcxy.com/upload/resources/image/2025/02/25/51247_1000x500c.png"
# 使用get请求
response = requests.get(base_url)
# 保存图片
with open("jiancai.png","wb+") as f:
    f.write(response.content)